package com.mms.entity.dao;

import java.util.List;

/**
 * Created by dan3652@sina.com on 2016-12-09 15:06.
 */
public interface MybatisDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Object record);

    int insertSelective(Object record);

    List selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Object record);

    int updateByPrimaryKey(Object record);

    Object queryForObject(String str, Object obj);

    List queryForList(String str, Object obj);
}
